package sicau.carManager.config;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;



/**
 * @Author ITcz
 * @Data 2021-02-26 - 10:51
 * Sql连接的配置
 */

@ConfigurationProperties(prefix = "spring.datasource")
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class DataSourceProperties  {
    private String url;

    private String username;

    private String password;

    private String driverClassName;
}
